Skip to content

Conversation

@drivebyer
Copy link
Collaborator

@drivebyer drivebyer commented Oct 22, 2025

  • When using the NodePort service type, redis-cli --cluster create node-ip:nodeport and redis-cli --cluster add-node node-ip:nodeport are used.
  • Added support for cluster-announce-tls-port when both TLS and NodePort are enabled.

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

Additional Context

@drivebyer drivebyer added the bug Something isn't working label Oct 22, 2025
@drivebyer drivebyer changed the title fix: support cluster creation with NodePort and TLS enabled feat: support cluster creation with NodePort and TLS enabled Oct 22, 2025
@drivebyer drivebyer changed the title feat: support cluster creation with NodePort and TLS enabled fix: support cluster creation with NodePort and TLS enabled Oct 22, 2025
@drivebyer drivebyer changed the title fix: support cluster creation with NodePort and TLS enabled fix: support cluster creation/scale with NodePort and TLS enabled Oct 22, 2025
    When using the NodePort service type, `redis-cli --cluster create node-ip:nodeport`
        and `redis-cli --cluster add-node node-ip:nodeport` are used.

    Added support for `cluster-announce-tls-port` when both TLS and NodePort are enabled.

Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
@drivebyer drivebyer merged commit dcfb286 into main Oct 23, 2025
29 of 30 checks passed
@drivebyer drivebyer deleted the nodeport-scale branch October 23, 2025 04:45
naimadswdn pushed a commit to naimadswdn/redis-operator that referenced this pull request Oct 23, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process
naimadswdn pushed a commit to naimadswdn/redis-operator that referenced this pull request Oct 23, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process

Signed-off-by: Damian Seredyn <[email protected]>
@naimadswdn
Copy link
Contributor

@drivebyer I think there was a small bug implemented in that PR, resulting in empty endpoints being added to Redis CLI commands.
I allowed myself to fix it here: #1569

naimadswdn pushed a commit to naimadswdn/redis-operator that referenced this pull request Oct 28, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process

Signed-off-by: Damian Seredyn <[email protected]>
drivebyer pushed a commit to naimadswdn/redis-operator that referenced this pull request Oct 29, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process

Signed-off-by: Damian Seredyn <[email protected]>
drivebyer pushed a commit to naimadswdn/redis-operator that referenced this pull request Nov 4, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process

Signed-off-by: Damian Seredyn <[email protected]>
naimadswdn pushed a commit to naimadswdn/redis-operator that referenced this pull request Nov 4, 2025
Redis cluster creation was failing silently due to empty endpoint values being added to Redis CLI commands after [PR 1568](OT-CONTAINER-KIT#1568) merge.
Scope:
- Validate getEndpoint() returns non-empty values before using them
- Return errors from createRedisReplicationCommand when endpoints fail
- Prevents silent failures in cluster bootstrap process

Signed-off-by: Damian Seredyn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants